package com.yt.phone.models.dto;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.sql.Timestamp;

import com.yt.common.dto.BaseDTO;

/**
 * 通话记录信息DTO
 *
 * @author lizicong
 * @Date 2025-11-05 23:39:45
 */
@Data
@TableName("history")
@ApiModel(value="通话记录信息对象", description="通话记录信息对象")
public class HistoryDTO extends BaseDTO implements Serializable {
    @ApiModelProperty(value = "账单表id")
    @TableId(value = "id",type = IdType.AUTO)
    private Long historyId;
    @ApiModelProperty(value = "用户id")
    private Long userId;
    @ApiModelProperty(value = "用户姓名")
    private String userName;
    @ApiModelProperty(value = "话费")
    private Double bill;
    @ApiModelProperty(value = "主叫号")
    private String callingNumber;
    @ApiModelProperty(value = "被叫号")
    private String calledNumber;
    @ApiModelProperty(value = "通讯时长")
    private Long time;
    @ApiModelProperty(value = "状态0未计费，已计费")
    private Integer status;
    @ApiModelProperty(value = "创建时间")
    private Timestamp createTime;
    @ApiModelProperty(value = "更新时间")
    private Timestamp updateTime;
}